import request from '@/utils/request'

export function fetchList(query) {
    return request({
        url: '/device/api/device/query/page',
        method: 'get',
        params: query
    })
}
export function fetchBroadInfo(query) {
    return request({
        url: '/device/api/deviceDynamicField/query/list',
        method: 'get',
        params: query
    })
}
//保存设备信息
export function saveDeviceInfo(query) {
    return request({
        url: '/device/api/device',
        method: 'get',
        data: query
    })
}